+Sun Feb 15 22:08:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add
+ deprecation note pointing people to GtkComboBox.
+
Sun Feb 15 02:49:45 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreednd.c:
+Sun Feb 15 22:08:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add
+ deprecation note pointing people to GtkComboBox.
+
Sun Feb 15 02:49:45 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreednd.c:
+Sun Feb 15 22:08:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add
+ deprecation note pointing people to GtkComboBox.
+
Sun Feb 15 02:49:45 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreednd.c:
+Sun Feb 15 22:08:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add
+ deprecation note pointing people to GtkComboBox.
+
Sun Feb 15 02:49:45 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreednd.c:
+Sun Feb 15 22:08:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add
+ deprecation note pointing people to GtkComboBox.
+
Sun Feb 15 02:49:45 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreednd.c:
+Sun Feb 15 22:09:53 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/tmpl/gtkcombo.sgml:
+ * gtk/tmpl/gtkoptionmenu.sgml: Add deprecation notes pointing
+ people to GtkComboBox.
+
Sun Feb 15 02:46:53 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtktreednd.sgml: Add docs.
arrow (cursor) keys, though this behaviour can be turned off with
gtk_combo_set_use_arrows().
</para>
+<para>
+As of GTK+ 2.4, #GtkCombo has been deprecated in favor of #GtkComboBox.
+</para>
<example id="gtkcombo-simple-example">
<title>Creating a <structname>GtkCombo</structname> widget with simple text
The #GtkFixedChild-struct struct contains the following fields.
(These fields should be considered read-only. They should never be set by
an application.)
-
-<informaltable pgwide="1" frame="none" role="struct">
-<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
-<tbody>
-
-<row>
-<entry>#GtkWidget *entry;</entry>
-<entry>the text entry field.</entry>
-</row>
-
-<row>
-<entry>#GtkWidget *list;</entry>
-<entry>the list shown in the drop-down window.</entry>
-</row>
-
-</tbody></tgroup></informaltable>
</para>
-@entry:
-@list:
+@entry: the text entry field.
+@list: the list shown in the drop-down window.
<!-- ##### ARG GtkCombo:allow-empty ##### -->
<para>
</para>
@Returns: a new #GtkCombo.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_popdown_strings ##### -->
@combo: a #GtkCombo.
@strings: a list of strings, or %NULL to clear the popup list
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_value_in_list ##### -->
@combo: a #GtkCombo.
@val: %TRUE if the value entered must match one of the values in the list.
@ok_if_empty: %TRUE if an empty value is considered valid.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_use_arrows ##### -->
</para>
@combo: a #GtkCombo.
-@val: %TRUE if the arrow keys can be used to step through the items in the list.
+@val: %TRUE if the arrow keys can be used to step through the items in
+ the list.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_use_arrows_always ##### -->
@combo: a #GtkCombo.
@val: unused
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_case_sensitive ##### -->
@combo: a #GtkCombo.
@val: %TRUE if the text in the list items is case sensitive.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_item_string ##### -->
@combo: a #GtkCombo.
@item: a #GtkItem.
@item_value: the string to place in the #GtkEntry when @item is selected.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_disable_activate ##### -->
</para>
@combo: a #GtkCombo.
+@Deprecated: Use #GtkComboBox instead.
menu item with gtk_option_menu_get_history().
</para>
+<para>
+As of GTK+ 2.4, #GtkOptionMenu has been deprecated in favor of #GtkComboBox.
+</para>
+
<!-- ##### SECTION See_Also ##### -->
</para>
@Returns: a new #GtkOptionMenu.
-
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_option_menu_get_menu ##### -->
<para>
@option_menu: a #GtkOptionMenu.
@Returns: the #GtkMenu associated with the #GtkOptionMenu.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_option_menu_set_menu ##### -->
@option_menu: a #GtkOptionMenu.
@menu: the #GtkMenu to associate with the #GtkOptionMenu.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_option_menu_remove_menu ##### -->
</para>
@option_menu: a #GtkOptionMenu.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_option_menu_set_history ##### -->
</para>
@option_menu: a #GtkOptionMenu.
-@index_: the index of the menu item to select. Index values are from
-0 to n-1.
+@index_: the index of the menu item to select. Index values are from 0 to n-1.
+@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_option_menu_get_history ##### -->
* items are numbered from top to bottom, starting with 0.
*
* Return value: index of the selected menu item, or -1 if there are no menu items
+ * Deprecated: Use #GtkComboBox instead.
**/
gint
gtk_option_menu_get_history (GtkOptionMenu *option_menu)